package com.dongchedi.utils.constant;

import lombok.Data;

/**
 * @author leibidong
 * @description 时间常量
 * @date 2021/7/1
 */

public enum  TimeConstant {
     REMEMBER_EXPIRED_SECONDS(60 * 60 * 24 * 100),
     DEFAULT_EXPIRED_SECONDS (60 * 60 * 24 * 3),
    ONE_DAY_EXPIRED_SECONDS (86400);

    public void setTimes(int times) {
        this.times = times;
    }

    TimeConstant(long times) {
        this.times = times;
    }

    public long getTimes() {
        return times;
    }

    private long times;
}
